import http from './httpCopy.js'

function request({ method = 'get', url, data = {}, params = {} }) {
  return http({
    method,
    url,
    data,
    params,
  })
}

export default request
